Drawing.getBoundingBox Method

Gets the bounding box that contains every point in points.
 
 
Static This method is static.

Parameters

points

Type: Array
ElementType: Array
An array with elements that are arrays containing X and Y coordinates, respectively.

Return Value


Type: Rect
An object describing the bounds with properties top, left, bottom, right, width, and height that is large enough to contain the points.